<template>
  <div class="demo">
    <!-- <Spline :scene="SCENE" /> -->
    <Spline :scene="scene" />
  </div>
</template>

<script>
import Spline from 'spline-vue/v2'
// const SCENE = '/vue-spline/scene.splinecode'
export default {
  name: '',
  mixins: [],
  components: { Spline },
  props: {},
  data () {
    return {
      scene: 'https://prod.spline.design/LjMWGkTqSbId5res/scene.splinecode' // 读取在线文件
      // SCENE // 读取本地文件
    }
  },
  computed: {},
  watch: {},
  created() {},
  mounted() {},
  methods: {},
  destroyed() {},
  activated() {},
  deactivated() {}
}
</script>

<style lang='less' scoped>
.demo {
  height: 100vh;
  cursor: pointer;
}
</style>
